package Const;

use strict;
use warnings;
use lib "./libs";
use Time::Piece;
use Utils ();

use Exporter qw(import);
#our @EXPORT_OK = qw($DS $OS);

our $DS = "/";
our $OS = $^O;

our $ROOT_PATH = Utils::trim(`pwd`);
our $APP_PATH  = $ROOT_PATH . $Const::DS . "app";
our $CONF_PATH = $ROOT_PATH . $Const::DS . "config";
our $DATA_PATH = $ROOT_PATH . $Const::DS . "data";
our $LIB_PATH  = $ROOT_PATH . $Const::DS . "libs";
our $LOG_PATH  = $ROOT_PATH . $Const::DS . "logs";

our $NT_PATH = "/data/nantian/scripts/perl/data";
our $DB_CONFIG_PATH = $CONF_PATH . $DS . "ddl";
our $INPUT_PATH = $NT_PATH . $Const::DS . "input";
my $today = localtime->ymd('');
our $OUTPUT_PATH = $NT_PATH . $Const::DS . "output_$today";

1;

__END__
